package com.syq.service;

import com.syq.pojo.DtsGoods;
import com.syq.vo.GoodsAllinone;

import java.util.List;

/**
 * @ClassName: DtsGoodsService
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/22 11:12
 */


public interface DtsGoodsService {
    Long findCount();


    List<DtsGoods> findAll(int pn, int ps, String sort, String order);

    DtsGoods findById(Integer id);


    void update(DtsGoods goods, Integer id);

    Object delete(DtsGoods dtsGoods);

    void create(GoodsAllinone goodsAllinone);

    List<DtsGoods> findByOrderId(Integer id);
}
